package com.eva.eip.admin.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eva.eip.admin.biz.cms.article.dto.QueryCmsArticleTagDTO;
import com.eva.eip.dao.cms.model.CmsArticleTag;
import com.eva.eip.admin.biz.cms.article.vo.CmsArticleTagVO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CmsArticleTagMapper extends BaseMapper<CmsArticleTag> {

    /**
     * 查询文章标签
     *
     * @param dto QueryCmsArticleTagDTO
     * @return List<CmsArticleTagVO>
     */
    List<CmsArticleTagVO> search(QueryCmsArticleTagDTO dto);

}
